package com.blackbox.price.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Author: TWQ
 * @Description:
 * @Date: Created in 下午 22:37 2020/8/29 0024
 * @Modidied By: NO
 */
@Data
@AllArgsConstructor //生成全参数构造函数
@NoArgsConstructor//生成无参构造函数
@Builder
@Table(name="bb_image")
public class BbImg{

    @ApiModelProperty("ID")
    @Id
    private String id;

    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("附件图片")
    private String img;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 更新时间
     */
    @ApiModelProperty("更新时间")
    private Date updateTime;
}
